package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

@Data
@Setter
@Getter
@ToString
@TableName("delivery_addr")
public class DeliveryAddr {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer user_id;
    private String receiver_name;
    private String receiver_phone;
    private String province;
    private String city;
    private String district;
    private String detail_addr;
    private Integer is_default;//0:非默认 1:默认
    private LocalDateTime create_time;
    private LocalDateTime update_time;
    private Integer is_del;
}
